/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model.pojo;

/**
 *
 * @author OJH
 */
public class TinhThanh {
    private int maTinh;
    private String tenTinh;
    
    public TinhThanh(){
        this.maTinh=0;
        this.tenTinh="";
        
    }
    public TinhThanh(int maTinh, String tenTinh){
        this.maTinh=maTinh;
        this.tenTinh=tenTinh;
        
    }
    
    public TinhThanh(TinhThanh tt){
        this.maTinh=tt.maTinh;
        this.tenTinh=tt.tenTinh;
        
    }
    /**
     * @return the maTinh
     */
    public int getMaTinh() {
        return maTinh;
    }

    /**
     * @param maTinh the maTinh to set
     */
    public void setMaTinh(int maTinh) {
        this.maTinh = maTinh;
    }

    /**
     * @return the tenTinh
     */
    public String getTenTinh() {
        return tenTinh;
    }

}
